//
//  CarDetailDataModel.h
//  江淮卡友
//
//  Created by 孙博 on 2021/5/14.
//

#import <Foundation/Foundation.h>
#import "DealerDetailTableModel.h"
#import "seckillModel.h"
#import "CouponVOModel.h"
#import "CutPriceCouponModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface CarDetailDataModel : NSObject
//车系id
@property (nonatomic,copy)   NSString *seriesId;
//底盘url
@property(nonatomic,strong)  NSArray *chassisUrls;
//车型code
@property (nonatomic,copy)   NSString *modelCode;
//车型名称
@property (nonatomic,copy)   NSString *modelName;
//内饰url
@property(nonatomic,strong)  NSArray *interiorUrls;
//最低指导价
@property (nonatomic,copy)   NSString *guidePriceMin;
//车型用途
@property (nonatomic,copy)   NSString *modelUsage;
//外观url
@property(nonatomic,strong)  NSArray *appearanceUrls;
//最高指导价
@property (nonatomic,copy)   NSString *guidePriceMax;
//经销商价格
@property (nonatomic,copy)   NSString *dealerPrice;
//品牌id
@property (nonatomic,copy)   NSString *brandId;
//品牌名称
@property (nonatomic,copy)   NSString *brandName;
//车型id
@property (nonatomic,copy)   NSString *modelId;
//主图片url
@property(nonatomic,strong)  NSArray *mainUrls;
//亮点url
@property(nonatomic,strong)  NSArray *highlightsUrls;

@end


//在售车款model
@interface OnSalePatternModel : NSObject
////经销商id
//@property (nonatomic, copy) NSString *dealerId;
////经销商名称
//@property (nonatomic, copy) NSString *dealerName;
////经销商电话
//@property (nonatomic, copy) NSString *dealerPhone;
//经销商指导价
@property (nonatomic, copy) NSString *dealerPrice;
//动力品牌
@property (nonatomic, strong) NSArray <NSString *> *engines;
//车款亮点
@property (nonatomic, copy) NSString *highlights;
//车款编码
@property (nonatomic, copy) NSString *patternCode;
//车款id
@property (nonatomic, copy) NSString *patternId;
//车款名
@property (nonatomic, copy) NSString *patternName;
//预订金额
@property (nonatomic, copy) NSString *subscription;
//预订金额（元），字符串类型
@property (nonatomic, copy) NSString *subscriptionStr;
//预订状态：0-启用、1-禁用
@property (nonatomic, copy) NSString *subscriptionStatus;
//秒杀数组
@property (nonatomic, strong) NSMutableArray <seckillModel *> *seckillVOList;
//优惠券数组
@property (nonatomic, strong) NSMutableArray <CouponVOModel *> *couponVOList;
//砍价数组
@property (nonatomic, strong) NSMutableArray <CutPriceCouponModel *> *cutPriceVOList;
////优惠券名称
//@property (nonatomic, copy) NSString *couponName;
////优惠券数量
//@property (nonatomic, copy) NSString *couponNum;
//优惠券model
//@property (nonatomic, strong) DealerCouponModel *couponDetail;
@end


@interface CarDetailCouponModel : NSObject
//优惠券名称
@property (nonatomic,copy)   NSString *couponName;
//优惠券类型（CASH-现金券）
@property(nonatomic,copy)  NSString *couponType;
//优惠金额，即抵扣金额
@property (nonatomic,copy)   NSString *deductionAmount;
//id
@property (nonatomic,copy)   NSString *id;
//1-有发放数量限制，0-无发放数量限制
@property(nonatomic,copy)  NSString *issueRestrict;
//发放人类型（FAC-车场，AGENT-经销商）
@property (nonatomic,copy)   NSString *ownerType;
//已发放数量
@property (nonatomic,copy)   NSString *issuedNum;
//每人限额
@property (nonatomic,copy)   NSString *perLimit;
//价格
@property (nonatomic,copy)   NSString *price;
//发放总数量
@property (nonatomic,copy)   NSString *totalNum;
//使用说明
@property (nonatomic,copy)   NSString *useDesc;
//核销结束时间
@property(nonatomic,copy)  NSString *verifyEndDatetime;
//核销开始时间
@property(nonatomic,copy)  NSString *verifyStartDatetime;
//车型id
@property (nonatomic,copy)   NSString *modelId;
//车型名称
@property (nonatomic,copy)   NSString *modelName;

@end

//金融方案
@interface CarDetailFinancialPlanModel : NSObject
//首付金额（万）
@property (nonatomic,copy)   NSString *downPayment;
//首付比例
@property (nonatomic,copy)   NSString *downPaymentRatio;
//月供（元）
@property(nonatomic,copy)  NSString *monthPayment;
//期数
@property(nonatomic,copy)  NSString *periods;
@end
NS_ASSUME_NONNULL_END
